package com.jy.dao;

import com.jy.entity.Authority;
import com.jy.entity.User;

import java.sql.SQLException;
import java.util.List;

public interface UserDao {
	//判断登录
	public User getUser(String name, String pwd) throws SQLException;
	
	//根据用户名查用户权限
	public List<Authority> getauthority(int uid) throws SQLException ;

	//充值VIP
	public int updatevip(int userid) throws  SQLException;
}
